package com.mano233.server.po;

public class ResponseMessage {
    private ResponseStatus status;
    private Object data;
    private String url;
    private boolean uploaded;
    private String fileName;
    private String msg;

    public ResponseMessage(ResponseStatus status, Object data) {
        this.status = status;
        this.data = data;
    }

    public ResponseMessage(ResponseStatus status, String msg) {
        this.status = status;
        this.msg = msg;
    }

    public ResponseMessage(ResponseStatus status, Object data, String msg) {
        this.status = status;
        this.data = data;
        this.msg = msg;
    }

    public ResponseMessage(ResponseStatus status) {
        this.status = status;
    }

    public ResponseStatus getStatus() {
        return status;
    }

    public void setStatus(ResponseStatus status) {
        this.status = status;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public boolean isUploaded() {
        return uploaded;
    }

    public void setUploaded(boolean uploaded) {
        this.uploaded = uploaded;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
